﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace PIMS.RBAC
{
    [SugarTable("RBAC用户表")] 
    public class View用户权限表
    {
        [SugarColumn(IsPrimaryKey = true, ColumnName = "用户编号", IsIdentity = true)]
        public int ID { get; set; }

        [SugarColumn(IsNullable = false, ColumnName = "用户名", ColumnDescription = "用户名")]
        public string UserName { get; set; }

        [SugarColumn(IsNullable = false, ColumnName = "姓名", ColumnDescription = "姓名")]
        public string Name { get; set; }

        [SugarColumn(IsNullable = false, ColumnName = "密码", ColumnDescription = "密码")]
        public string Password { get; set; }

        [SugarColumn(IsNullable = true, ColumnName = "备注", ColumnDescription = "描述")]
        public string Description { get; set; }

        [SugarColumn(IsNullable = true, ColumnName = "班组", ColumnDescription = "部门")]
        public string Department { get; set; }

        [SugarColumn(IsNullable = true, ColumnName = "状态", ColumnDescription = "级别")]
        public string Level { get; set; }
    }
}
